package com.woniu.stafforder.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.math.BigDecimal;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrderMonDTO {
    @Id
    private Long id;
    private Long orderNum;
    private Integer status;
    private Integer typeId;
    private String userTelephone;
    private BigDecimal itemCost;
    private Integer sourceId;
    private Date createTime;
    private Integer orderPayId;
    private Integer orderBusinessTypeId;
    private BigDecimal totalPrice;
    private String province;
    private Integer addressId;
    @Field(type = FieldType.Long)
    private Long count;
}